ACFWF\Models\REST_API\API_Settings S

Total Complexity 35
Dependencies 9
Dependents 1
Total lines 576
Lines of code 285
Logical lines of code 66
Comment lines 223
Methods 16
Properties 7

Methods 16

Method Rating Maintainability Complexity Lines of code
_get_settings_sections()
A
42 9 61
update_setting_option()
S
45 6 45
register_routes()
S
45 1 54
delete_setting_option()
S
53 2 24
get_setting_option()
S
55 2 20
get_instance()
S
70 2 6
_init_acfw_settings()
S
69 2 6
get_settings_admin_permissions_check()
S
68 2 6
update_setting_option_permissions_check()
S
68 2 6
_is_setting_valid()
S
61 1 14
get_settings_admin_collection_params()
S
61 1 13
get_settings_section_options()
S
63 1 11
__construct()
S
71 1 6
get_settings_sections()
S
69 1 6
_get_single_section_fields()
S
75 1 4
run()
S
79 1 3